* {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

.media {
  position: relative;
  width: 830px;
  height: 50px;
  margin: 300px auto 0;
  border: 3px solid #bbb;
}

.media>div {
  float: left;
  margin: 0 10px;
  line-height: 50px;
}

.media>div.playRange {
  position: relative;
  width: 200px;
  height: 6px;
  margin-top: 22px;
  border-radius: 3px;
  background-color: #333;
  cursor: pointer;
}

.media>div.playRange .currentRange {
  position: absolute;
  left: 0;
  top: 0;
  width: 0px;
  height: 6px;
  border-radius: 3px;
  background-color: #098f99;
}

.media>div.playRange .playBtn {
  position: absolute;
  left: -10px;
  top: -7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #098f99;
  /* 设置元素的鼠标事件穿透，用于拖拽播放进度条 */
  pointer-events: none;
}

.media .volume {
  position: relative;
}

.media .volumeRange {
  display: none;
  position: absolute;
  top: -105px;
  left: 10px;
  width: 4px;
  height: 100px;
  border-radius: 2px;
  background-color: #333;
}

.media .volumeRange .currentVolume {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 4px;
  height: 50px;
  border-radius: 2px;
  background-color: #098f99;
  pointer-events: none;
}

.media .volumeRange .volumeBtn {
  position: absolute;
  left: -5px;
  top: 47.5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #098f99;
  pointer-events: none;
}

.media i {
  font-size: 24px;
  cursor: pointer;
}

.media .box {
  position: absolute;
  top: 5px;
  right: 0;
  width: 300px;
  height: 40px;
  line-height: 40px;
  background-color: #098f99;
  overflow: hidden;
}

.media .box ul {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.media .box ul li {
  height: 40px;
  text-align: center;
  font-size: 16px;
  color: #fff;
  background-color: #098f99;
}

.media .rate {
  position: absolute;
  left: 455px;
  top: 15px;
  width: 40px;
  text-align: center;
  line-height: 20px;
  float: none;
  margin: 0;
  cursor: pointer;
}

.media .rate .list {
  display: none;
  position: absolute;
  left: -1px;
  top: 22px;
  width: 40px;
  border: 1px solid #098f99;
  background-color: #fff;
}

.media .rate .list li {
  border-bottom: 1px solid #098f99;
}

.media .rate .list li:last-child {
  border-bottom: none;
}

.media .rate .list li:hover {
  background-color: skyblue;
}

.media .rate .list li.active {
  color: #fff;
  background-color: #098f99;
}